package it.terry.bussola.hardware;

import android.content.Context;

public class Sensor extends Object {
	
	private boolean buss_status = false;
	
	public static final int MAGNETIC_FIELD = 2;
	
	public int SensorType = 0;
	
	@SuppressWarnings("unused")
	private Context mContext;
	
	//Costruttore
	public Sensor(Context context, int type) {
		super();
		mContext = context;
		SensorType = type;
		
	}
	
	// Stato
	public boolean get_status(){
		return buss_status;
		
	}
	
	//Attiva Sensore
	public boolean enable_buss(){
		
		buss_status = true;
		return buss_status;
		
	}
	
	//Disattiva Sensore
	public boolean disable_acc(){
		buss_status = false;
		return buss_status;
	}

}
